Skip to content

Conversation

@simolus3
Copy link
Contributor

@simolus3 simolus3 commented Nov 4, 2025

Since those crates aren't published and we want to eventually publish powersync_core, this adds the powersync_sqlite_nostd crate that contains sqlite3_capi, sqlite3_alloc and sqlite3_nostd sources.

To simplify the build a bit, I've removed the omit_loadable_extension feature. Since we're not using it in the core extension, we can just unconditionally omit those methods.
Additionally, I've removed the loadable feature. Instead, we now use the loadable mechanism by default. Enabling the static feature switches things over to direct calls. This is a bit friendlier on rust analyzer since we don't have to enable features to get the crate to compile.

@simolus3 simolus3 force-pushed the vendor-sqlite-nostd branch from ec3ba00 to b581b42 Compare November 4, 2025 10:08
@simolus3 simolus3 requested a review from rkistner November 4, 2025 10:26
@simolus3 simolus3 merged commit b5faf82 into main Nov 4, 2025
25 checks passed
@simolus3 simolus3 deleted the vendor-sqlite-nostd branch November 4, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants